﻿@model S4Store.Domain.NetMarketingKpi.NetMarketingKpiMonthConfig
@{
    Layout = null;
    ViewBag.Title = "InputSellerKpiMonthConfig";
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<form class="pageForm addpage" action="@Url.Action("ModifyBackMonthConfig")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">    
<div ratio="#100">
    <table style="width:100%">
            <tr>
                <td width="25%">电销目标：</td>
                <td width="25%"><input type="text" value="@Model.DXMB" size="5" name="config.DXMB" class="textInput intinput" />辆</td>
                <td width="25%">下线转化率目标：</td>
                <td width="25%"><input type="text" value="@Model.XXZHLVMB.toInt()" size="5" name="config.XXZHLVMB" class="textInput numberinput" />%</td>
                      
            </tr>
            <tr>
                <td width="25%">上月电销成交率：</td>
                <td width="25%"><input type="text" value="@Model.SYDXSJLV.toInt()" size="5" name="config.SYDXSJLV" class="textInput numberinput" />%</td>
                <td width="25%">月度预算：</td>
                <td width="25%"><input type="text" value="@Model.YDYS.toInt()" size="5" name="config.YDYS" class="textInput numberinput" />万</td>
                      
            </tr>
        </table>
</div>
<div ratio="#25">
<table  class="reporttable2"  style="border-collapse:collapse; ">
    <tr>
        <th width="100">媒体名称</th>
        <th width="100">月度费用</th>
        <th width="150">计划发贴/文数</th>
    </tr>
</table>
</div>
<div class="pageFormContent"  ratio="*" style=" overflow: auto;padding:0;">    
    <table  class="reporttable2"  style="border-collapse:collapse;">
            @Html.Action("MediaList", new { y = Model.Month.Year, m = Model.Month.Month })
    </table>             
<input type="hidden" name="config.Id" value="@Model.Id" />
<input type="hidden" name="StoreId" value="@Model.StoreId" />
<input type="hidden" name="config.Month" value="@Model.Month.ToString("yyyy-MM-dd")" />
</div>
    @if (!Model.IsConfirmed || CurrentUser.Position== S4Store.Domain.Position.SystemManager)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
                <li>确认数据：<input type="checkbox" name="isconfirm" value="true" /></li>	
            </ul>
        </div>
    }
</div>
</form>


